<?php
	
	fta_registerModules(
		array(
			"FTAORM/FTAORM",
			"FTAORM/FTAORMCMSContent"
		)
	);

	class _FTAORMCMSAsset extends FTAORMCMSContent {
	
		public function __construct(Zend_Db_Adapter_Abstract $zdb) {
			
			$this->tableFields = array();
			$this->fieldMap = array(
				'parent' => 'categorycode',
				'name' => 'title',
				'description' => 'shortdescription',		
				'file' => 'content',
				'isFolder' => 'author',		
				'shortDescription' => 'authordepartment',		
				'tag' => 'extra5',				
			);
											
			parent::__construct($zdb);	

		//	$this->tableFieldTypes = array(
		//	);
					
			$this->tableRequiredFields = array_merge($this->tableRequiredFields, array());
		
		}
		
		//why is this shit here.. should be in the underlying model class.. hrrm
		function setDefaults(){
			parent::setDefaults();
			$this->documenttypecode = 'docFileMod';
			$this->formid = 220;
		}
				
	}



